package com.eshop.modules.activity.service.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.math.BigDecimal;
import java.io.Serializable;

public class StorePinkDto implements Serializable
{
    private Long id;
    private Long uid;
    private String orderId;
    private Long orderIdKey;
    private Integer totalNum;
    private BigDecimal totalPrice;
    private Long cid;
    private Long pid;
    private Integer people;
    private BigDecimal price;
    @JsonFormat(pattern = "yyyy年MM月dd日HH时mm分", timezone = "GMT+8")
    private Date createTime;
    private String stopTime;
    private Long kId;
    private Integer isTpl;
    private Integer isRefund;
    private Integer status;
    private String nickname;
    private String phone;
    private String userImg;
    private String product;
    private String image;
    private int countPeople;
    
    public Long getId() {
        return this.id;
    }
    
    public Long getUid() {
        return this.uid;
    }
    
    public String getOrderId() {
        return this.orderId;
    }
    
    public Long getOrderIdKey() {
        return this.orderIdKey;
    }
    
    public Integer getTotalNum() {
        return this.totalNum;
    }
    
    public BigDecimal getTotalPrice() {
        return this.totalPrice;
    }
    
    public Long getCid() {
        return this.cid;
    }
    
    public Long getPid() {
        return this.pid;
    }
    
    public Integer getPeople() {
        return this.people;
    }
    
    public BigDecimal getPrice() {
        return this.price;
    }
    
    public Date getCreateTime() {
        return this.createTime;
    }
    
    public String getStopTime() {
        return this.stopTime;
    }
    
    public Long getKId() {
        return this.kId;
    }
    
    public Integer getIsTpl() {
        return this.isTpl;
    }
    
    public Integer getIsRefund() {
        return this.isRefund;
    }
    
    public Integer getStatus() {
        return this.status;
    }
    
    public String getNickname() {
        return this.nickname;
    }
    
    public String getPhone() {
        return this.phone;
    }
    
    public String getUserImg() {
        return this.userImg;
    }
    
    public String getProduct() {
        return this.product;
    }
    
    public String getImage() {
        return this.image;
    }
    
    public int getCountPeople() {
        return this.countPeople;
    }
    
    public void setId(final Long id) {
        this.id = id;
    }
    
    public void setUid(final Long uid) {
        this.uid = uid;
    }
    
    public void setOrderId(final String orderId) {
        this.orderId = orderId;
    }
    
    public void setOrderIdKey(final Long orderIdKey) {
        this.orderIdKey = orderIdKey;
    }
    
    public void setTotalNum(final Integer totalNum) {
        this.totalNum = totalNum;
    }
    
    public void setTotalPrice(final BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }
    
    public void setCid(final Long cid) {
        this.cid = cid;
    }
    
    public void setPid(final Long pid) {
        this.pid = pid;
    }
    
    public void setPeople(final Integer people) {
        this.people = people;
    }
    
    public void setPrice(final BigDecimal price) {
        this.price = price;
    }
    
    @JsonFormat(pattern = "yyyy年MM月dd日HH时mm分", timezone = "GMT+8")
    public void setCreateTime(final Date createTime) {
        this.createTime = createTime;
    }
    
    public void setStopTime(final String stopTime) {
        this.stopTime = stopTime;
    }
    
    public void setKId(final Long kId) {
        this.kId = kId;
    }
    
    public void setIsTpl(final Integer isTpl) {
        this.isTpl = isTpl;
    }
    
    public void setIsRefund(final Integer isRefund) {
        this.isRefund = isRefund;
    }
    
    public void setStatus(final Integer status) {
        this.status = status;
    }
    
    public void setNickname(final String nickname) {
        this.nickname = nickname;
    }
    
    public void setPhone(final String phone) {
        this.phone = phone;
    }
    
    public void setUserImg(final String userImg) {
        this.userImg = userImg;
    }
    
    public void setProduct(final String product) {
        this.product = product;
    }
    
    public void setImage(final String image) {
        this.image = image;
    }
    
    public void setCountPeople(final int countPeople) {
        this.countPeople = countPeople;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof StorePinkDto)) {
            return false;
        }
        final StorePinkDto other = (StorePinkDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        if (this.getCountPeople() != other.getCountPeople()) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0078: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0078;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0078;
            }
            return false;
        }
        final Object this$uid = this.getUid();
        final Object other$uid = other.getUid();
        Label_0115: {
            if (this$uid == null) {
                if (other$uid == null) {
                    break Label_0115;
                }
            }
            else if (this$uid.equals(other$uid)) {
                break Label_0115;
            }
            return false;
        }
        final Object this$orderIdKey = this.getOrderIdKey();
        final Object other$orderIdKey = other.getOrderIdKey();
        Label_0152: {
            if (this$orderIdKey == null) {
                if (other$orderIdKey == null) {
                    break Label_0152;
                }
            }
            else if (this$orderIdKey.equals(other$orderIdKey)) {
                break Label_0152;
            }
            return false;
        }
        final Object this$totalNum = this.getTotalNum();
        final Object other$totalNum = other.getTotalNum();
        Label_0189: {
            if (this$totalNum == null) {
                if (other$totalNum == null) {
                    break Label_0189;
                }
            }
            else if (this$totalNum.equals(other$totalNum)) {
                break Label_0189;
            }
            return false;
        }
        final Object this$cid = this.getCid();
        final Object other$cid = other.getCid();
        Label_0226: {
            if (this$cid == null) {
                if (other$cid == null) {
                    break Label_0226;
                }
            }
            else if (this$cid.equals(other$cid)) {
                break Label_0226;
            }
            return false;
        }
        final Object this$pid = this.getPid();
        final Object other$pid = other.getPid();
        Label_0263: {
            if (this$pid == null) {
                if (other$pid == null) {
                    break Label_0263;
                }
            }
            else if (this$pid.equals(other$pid)) {
                break Label_0263;
            }
            return false;
        }
        final Object this$people = this.getPeople();
        final Object other$people = other.getPeople();
        Label_0300: {
            if (this$people == null) {
                if (other$people == null) {
                    break Label_0300;
                }
            }
            else if (this$people.equals(other$people)) {
                break Label_0300;
            }
            return false;
        }
        final Object this$kId = this.getKId();
        final Object other$kId = other.getKId();
        Label_0337: {
            if (this$kId == null) {
                if (other$kId == null) {
                    break Label_0337;
                }
            }
            else if (this$kId.equals(other$kId)) {
                break Label_0337;
            }
            return false;
        }
        final Object this$isTpl = this.getIsTpl();
        final Object other$isTpl = other.getIsTpl();
        Label_0374: {
            if (this$isTpl == null) {
                if (other$isTpl == null) {
                    break Label_0374;
                }
            }
            else if (this$isTpl.equals(other$isTpl)) {
                break Label_0374;
            }
            return false;
        }
        final Object this$isRefund = this.getIsRefund();
        final Object other$isRefund = other.getIsRefund();
        Label_0411: {
            if (this$isRefund == null) {
                if (other$isRefund == null) {
                    break Label_0411;
                }
            }
            else if (this$isRefund.equals(other$isRefund)) {
                break Label_0411;
            }
            return false;
        }
        final Object this$status = this.getStatus();
        final Object other$status = other.getStatus();
        Label_0448: {
            if (this$status == null) {
                if (other$status == null) {
                    break Label_0448;
                }
            }
            else if (this$status.equals(other$status)) {
                break Label_0448;
            }
            return false;
        }
        final Object this$orderId = this.getOrderId();
        final Object other$orderId = other.getOrderId();
        Label_0485: {
            if (this$orderId == null) {
                if (other$orderId == null) {
                    break Label_0485;
                }
            }
            else if (this$orderId.equals(other$orderId)) {
                break Label_0485;
            }
            return false;
        }
        final Object this$totalPrice = this.getTotalPrice();
        final Object other$totalPrice = other.getTotalPrice();
        Label_0522: {
            if (this$totalPrice == null) {
                if (other$totalPrice == null) {
                    break Label_0522;
                }
            }
            else if (this$totalPrice.equals(other$totalPrice)) {
                break Label_0522;
            }
            return false;
        }
        final Object this$price = this.getPrice();
        final Object other$price = other.getPrice();
        Label_0559: {
            if (this$price == null) {
                if (other$price == null) {
                    break Label_0559;
                }
            }
            else if (this$price.equals(other$price)) {
                break Label_0559;
            }
            return false;
        }
        final Object this$createTime = this.getCreateTime();
        final Object other$createTime = other.getCreateTime();
        Label_0596: {
            if (this$createTime == null) {
                if (other$createTime == null) {
                    break Label_0596;
                }
            }
            else if (this$createTime.equals(other$createTime)) {
                break Label_0596;
            }
            return false;
        }
        final Object this$stopTime = this.getStopTime();
        final Object other$stopTime = other.getStopTime();
        Label_0633: {
            if (this$stopTime == null) {
                if (other$stopTime == null) {
                    break Label_0633;
                }
            }
            else if (this$stopTime.equals(other$stopTime)) {
                break Label_0633;
            }
            return false;
        }
        final Object this$nickname = this.getNickname();
        final Object other$nickname = other.getNickname();
        Label_0670: {
            if (this$nickname == null) {
                if (other$nickname == null) {
                    break Label_0670;
                }
            }
            else if (this$nickname.equals(other$nickname)) {
                break Label_0670;
            }
            return false;
        }
        final Object this$phone = this.getPhone();
        final Object other$phone = other.getPhone();
        Label_0707: {
            if (this$phone == null) {
                if (other$phone == null) {
                    break Label_0707;
                }
            }
            else if (this$phone.equals(other$phone)) {
                break Label_0707;
            }
            return false;
        }
        final Object this$userImg = this.getUserImg();
        final Object other$userImg = other.getUserImg();
        Label_0744: {
            if (this$userImg == null) {
                if (other$userImg == null) {
                    break Label_0744;
                }
            }
            else if (this$userImg.equals(other$userImg)) {
                break Label_0744;
            }
            return false;
        }
        final Object this$product = this.getProduct();
        final Object other$product = other.getProduct();
        Label_0781: {
            if (this$product == null) {
                if (other$product == null) {
                    break Label_0781;
                }
            }
            else if (this$product.equals(other$product)) {
                break Label_0781;
            }
            return false;
        }
        final Object this$image = this.getImage();
        final Object other$image = other.getImage();
        if (this$image == null) {
            if (other$image == null) {
                return true;
            }
        }
        else if (this$image.equals(other$image)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof StorePinkDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        result = result * 59 + this.getCountPeople();
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $uid = this.getUid();
        result = result * 59 + (($uid == null) ? 43 : $uid.hashCode());
        final Object $orderIdKey = this.getOrderIdKey();
        result = result * 59 + (($orderIdKey == null) ? 43 : $orderIdKey.hashCode());
        final Object $totalNum = this.getTotalNum();
        result = result * 59 + (($totalNum == null) ? 43 : $totalNum.hashCode());
        final Object $cid = this.getCid();
        result = result * 59 + (($cid == null) ? 43 : $cid.hashCode());
        final Object $pid = this.getPid();
        result = result * 59 + (($pid == null) ? 43 : $pid.hashCode());
        final Object $people = this.getPeople();
        result = result * 59 + (($people == null) ? 43 : $people.hashCode());
        final Object $kId = this.getKId();
        result = result * 59 + (($kId == null) ? 43 : $kId.hashCode());
        final Object $isTpl = this.getIsTpl();
        result = result * 59 + (($isTpl == null) ? 43 : $isTpl.hashCode());
        final Object $isRefund = this.getIsRefund();
        result = result * 59 + (($isRefund == null) ? 43 : $isRefund.hashCode());
        final Object $status = this.getStatus();
        result = result * 59 + (($status == null) ? 43 : $status.hashCode());
        final Object $orderId = this.getOrderId();
        result = result * 59 + (($orderId == null) ? 43 : $orderId.hashCode());
        final Object $totalPrice = this.getTotalPrice();
        result = result * 59 + (($totalPrice == null) ? 43 : $totalPrice.hashCode());
        final Object $price = this.getPrice();
        result = result * 59 + (($price == null) ? 43 : $price.hashCode());
        final Object $createTime = this.getCreateTime();
        result = result * 59 + (($createTime == null) ? 43 : $createTime.hashCode());
        final Object $stopTime = this.getStopTime();
        result = result * 59 + (($stopTime == null) ? 43 : $stopTime.hashCode());
        final Object $nickname = this.getNickname();
        result = result * 59 + (($nickname == null) ? 43 : $nickname.hashCode());
        final Object $phone = this.getPhone();
        result = result * 59 + (($phone == null) ? 43 : $phone.hashCode());
        final Object $userImg = this.getUserImg();
        result = result * 59 + (($userImg == null) ? 43 : $userImg.hashCode());
        final Object $product = this.getProduct();
        result = result * 59 + (($product == null) ? 43 : $product.hashCode());
        final Object $image = this.getImage();
        result = result * 59 + (($image == null) ? 43 : $image.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "StorePinkDto(id=" + this.getId() + ", uid=" + this.getUid() + ", orderId=" + this.getOrderId() + ", orderIdKey=" + this.getOrderIdKey() + ", totalNum=" + this.getTotalNum() + ", totalPrice=" + this.getTotalPrice() + ", cid=" + this.getCid() + ", pid=" + this.getPid() + ", people=" + this.getPeople() + ", price=" + this.getPrice() + ", createTime=" + this.getCreateTime() + ", stopTime=" + this.getStopTime() + ", kId=" + this.getKId() + ", isTpl=" + this.getIsTpl() + ", isRefund=" + this.getIsRefund() + ", status=" + this.getStatus() + ", nickname=" + this.getNickname() + ", phone=" + this.getPhone() + ", userImg=" + this.getUserImg() + ", product=" + this.getProduct() + ", image=" + this.getImage() + ", countPeople=" + this.getCountPeople() + ")";
    }
}
